package org.springblade.tms.global.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springblade.common.enums.Enumerator;
import org.springblade.tms.global.anno.SelectEnum;

/**
 * @projectName: BladeX
 * @package: org.springblade.tms.global.enums
 * @className: CarType
 * @author: yr
 * @description: 车辆类型
 * @date: 2022/3/10 17:39
 */
@AllArgsConstructor
@Getter
@SelectEnum(value = "car", desc = "车辆类型")
public enum CarType implements Enumerator {
	VEHICLE("vehicle", "整车"),
	TRAILER("trailer", "挂车"),
	TRACTOR("tractor", "牵引车");
	private final String value;
	private final String description;

	@Override
	public String value() {
		return value;
	}

	@Override
	public String description() {
		return description;
	}
}
